//自定义方法
import { MessageBox } from 'mint-ui';
import { Toast } from 'mint-ui';
import { Indicator } from 'mint-ui';
import store from '@/store/store.js';
import axios from 'axios';
import Qs from 'qs';
export default {
	loadApp: function() {
		let user = window.navigator.userAgent;
		if(/Android/igm.test(user)) {
			$.get(store.state.urls + "/BaseVersion/V1.0/GetVersions?Type=android&Versions=1.0.0", function(res) {
				window.location.href = res.Return_Data.Versions_Url;
			})
		} else if(/iPhone/igm.test(user)) {
			Toast("即将上线，敬请期待");
		}
	},
}